<?php
    echo $this->Form->create('User',array('action'=>'logout')); ?>
   <input type="text" name="userid" id="username"></input>
   <input type="text" name="accesstoken" id="accesstoken"></input>
   <?php 
    echo $this->Form->end("Logout");
?>